import request from './request.js'

const buyCar = {
  // 添加购物车
  AddShoppingTrolley(data) {
    return request.post('/business/ShoppingTrolley/AddShoppingTrolley', data)
  },

  // 查询购物车列表
  ShoppingTrolleyList(data) {
    return request.post('/business/ShoppingTrolley/ShoppingTrolleyList', data)
  },

  // 编辑修改购物车列表
  UpdateShoppingTrolley(data) {
    return request.post('/business/ShoppingTrolley/UpdateShoppingTrolley', data)
  },
}

export default buyCar